//
//  IGPaymentApi.h
//  jingdongfang
//
//  Created by boectoswteam on 2018/5/23.
//  Copyright © 2018年 BOE-SBG-CTO. All rights reserved.
//

#import "IGBaseRequest.h"

@interface IGPaymentApi : IGBaseRequest
@property (nonatomic, copy) NSString *pIds;    //未支付作品id，多个以逗号隔开
@property (nonatomic, copy) NSString *price;   //支付金额
@property (nonatomic, copy) NSString *payPlatCode;   //支付平台  alipay & wxpay
@property (nonatomic, copy) NSString *ifUseArtPoint; //是否使用艺点  1使用    0不使用
@property (nonatomic, copy) NSString *clientIp;      //客户端ip，可不填
@end

@interface IGPaymentModel : IGBaseModel
@property (nonatomic, copy) NSString *method;   //paySuccess 金额为零 直接跳转支付成功界面    toCashier 跳转收银台
@property (nonatomic, strong) NSDictionary *ResBean;   //支付中心返回参数
@property (nonatomic, copy) NSString *orderId;   //订单id
@end

@interface IGPaymentResponse : IGBaseResp
@property (nonatomic, strong) IGPaymentModel *data;
@end
